﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceProcess;
using System.Text;
using PSE.Framework.ErrorLogging;
using PSE.Framework.Process;
using PSE.Framework.Configuration;

namespace STSHosterService
{
    class Program : BaseProgram
    {
        static Program()
        {
            Initialize(Sinacor.Infra.Common.Configuration.SystemComponents.System, Sinacor.Infra.Common.Configuration.SystemComponents.SecurityTokenService);
        }     
        
        static void Main()
        {
            ServiceBase[] ServicesToRun;
            ServicesToRun = new ServiceBase[] 
			{ 
				new Service1() 
			};

            ServiceBase.Run(ServicesToRun);
        }
    }
}
